package com.broad.data.storage.server.service;

import com.broad.data.storage.common.model.ServiceAuthInfo;
import com.broad.data.storage.common.model.TokenInfo;

public interface IAuthService {

    boolean addAuth(ServiceAuthInfo serviceAuthInfo);

    boolean deleteAuthByBucket(String bucket, String token);

    boolean deleteToken(String token);

    TokenInfo getTokenInfo(String token);
}
